package com.hz.house.dao;

import com.hz.house.bean.entity.BuildingBannerAdvertisingBean;
import com.hz.house.bean.entity.Information;
import com.hz.house.bean.entity.OpenInfoBean;
import com.hz.house.bean.entity.SaleManBean;
import com.hz.house.bean.vo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface HomePageMapper {

	 List<BuildingBannerAdvertisingBean> getBannerAds(String type);
	
	 
	 List<BuildingTypesCounts> getBuildingTypesConut();
	 
	 List<SaleManBean> getHomePageSaleManV2_1(@Param("limitDate")int limitDate);
	 
	 SaleManBean getHomePageSaleManChuJia(@Param("homeDate")String homeDate,@Param("buildingId") Integer buildingId, @Param("bidType") Integer bidType);
	 
	 List<SaleManBean> getHomePageSaleMan(@Param("begin")String begin,@Param("end")String end);
	 
	 List<SimpleCoditionBean> getBuildingAdByType(@Param("type")String type);
	 
	 List<SimpleCoditionBean> getDuJiaReport(@Param("columnId")int columnId);
	 
	 List<HomePageAdBean> getHomePageBuildingAds();
	 
	 List<HomePageAdBean> getHomePageAllTops();
	 
	 List<OpenInfoBean> getOpenInfoByBuildingId(List<BuildingListDataBean> buildings);
	 
     List<Information> getFangChanNewList(@Param("page") Integer page);
     
     Integer getTotal();
     
     SaleManBean getSaleMan(@Param("customerId")int customerId);

	List<SimpleCoditionBean> getDuJiaReportV2_2(@Param("type") int type);
	
	
	List<ZaoBaoBean> getZaoBaoList(Map<String,Object> m);
	
	Integer getZaoBaoListTotal(Map<String,Object> m);
	
	ZaoBaoBean getZaoBaoDetail(@Param("id")Integer id,@Param("ed")String end);

	List<BuildingBannerAdvertisingBean> getArticleAds(String type);
}
